Next | Prev | Up | Top | Contents | Index

Listing Parts of ELF Object Files and Libraries with elfdump

The elfdump tool lists headers, tables, and other selected parts of an ELF-format object file or archive file.


elfdump Syntax

The syntax for dump is:

elfdump options filename1 [filename2...filenamen]

options

One or more of the options listed in Table 2-7.

filename

Specifies the name of one or more object files whose contents are to be dumped.

elfump Options

Table 2-7 lists elfdump options. For more information, see the elfdump(1) reference page.

elfdump Options
OptionDumps
-aArchive header of each member of the archive.
-ABeginning address of a section.
-cString table.
-CDecoded C++ symbol names.
-cmtThe .comment sections.
-cntThe .content sections.
-dRange of sections.
-DcConflict list in Dynamic Shared Objects.
-DgGlobal Offset Table in Dynamic Shared Objects.
-DinfoThe .MIPS.dclass section.
-DinstThe .MIPS.inst section.
-DlLibrary list in Dynamic Shared Objects.
-DsymThe .MIPS.sym section.
-DsymlibSymbol library table (.MIPS.symlib).
-DtString table entries of the dynamic symbol table in Dynamic Shared Objects.
-eEvents sections.
-fEach file header.
-FLiteral tables (.lit4 and .lit8 sections).
-gArchive symbol table.
-GThe global pointer table information.
-hAll section headers in the file.
-hashHash table entries.
-iThe .interp section, which lists the path name of the program interpreter.
-infoPrints whether the object is marked quickstart, or is corded and is marked requickstart.
-lThe .line section.
-LDynamic linking information in Dynamic Shared Objects.
-nThe specified section (such as .MIPS.content, .dynamic, .got, MIPS.sym, .liblist, .conflict, .reginfo, and so forth).
-oEach program execution header.
-opOptions section.
-pSuppresses the printing of headings.
-rRelocation information.
-RRegister information.
-regThe .reginfo section.
-rptThe run-time procedure table.
-sSection contents.
-svr4Information in SVR4-style format.
-tSymbol table entries.
-TSymbol table range.
-uUpdates a COFF file to an ELF file.
-VVersion information only.


Next | Prev | Up | Top | Contents | Index